package com.asiainfo.ssm.execute.service.impl;

import java.rmi.RemoteException;

import com.ai.appframe2.service.ServiceFactory;
import com.asiainfo.ssm.execute.dao.interfaces.IExecTodoOrderDAO;
import com.asiainfo.ssm.execute.ivalues.IBOExecTodoOrderValue;
import com.asiainfo.ssm.execute.service.interfaces.IExecTodoOrderSV;

public class ExecTodoOrderSVImpl implements IExecTodoOrderSV {
	private static IExecTodoOrderDAO dao = (IExecTodoOrderDAO)ServiceFactory.getService(IExecTodoOrderDAO.class);

	@Override
	public void deleteExecTodoOrder(IBOExecTodoOrderValue[] values) throws Exception {
		dao.deleteExecTodoOrder(values);
	}

	@Override
	public IBOExecTodoOrderValue[] getExecTodoOrder(int mod, int modValue, int row) throws Exception, RemoteException {
 		return dao.getExecTodoOrder(mod, modValue, row);
	}

	@Override
	public void saveExecTodoOrder(IBOExecTodoOrderValue[] values) throws Exception, RemoteException {
		dao.saveExecTodoOrder(values);
	}

}
